package cn.tedu.egmvc3.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
//import lombok.Setter;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode{
    //所有实例定义在上面
    THROWABLE_ERROR(6666,"未知异常"),
    OPERATION_SUCCESS(5000,"操作成功"),
    OPERATION_FAILED(6000,"操作失败"),
    ;
    private Integer state;
    private String message;

}
